#ifndef __PROCESS_PROCESS_H__
#define __PROCESS_PROCESS_H__

#include <unistd.h>
#include <dirent.h>
#include <string.h>
#include <stdio.h>
#include <altair/string.h>
#include <altair/appinit.h>

#define EXIT_SUCCESS 0
#define EXIT_FAILURE 1

#define EXEC_OK       (1)
#define EXEC_FAILED   (0x7FF8)

#define EXEC_DIR_PTR        a_szCurrentPath
#define EXEC_ARG_PTR        a_szArguments
#define EXEC_APPNAME_PTR    a_szAppName
#define EXEC_RETURN_VALUE   a_iReturnValue

/* provede call far_seg:0000 */
#define exec_call_far(far_seg) \
          asm db 0x9a                       ; \
          asm dw 0000                       ; \
          asm dw far_seg                    ;



#endif
